package com.code.Day12Meiju.YiChang.KongZZ;

import java.util.ArrayList;

public class Test02 {
    public static void main(String[] args) {
        Dome03 dome03 =new Dome03("碎碎念",22);
        Dome03 dome04 =new Dome03("碎碎念",22);
        System.out.println(dome03.equals(dome04));

        ArrayList<String> list = new ArrayList<>();
//        System.out.println(dome03.equals(list));
        System.out.println(dome03.equals(null));
        System.out.println("===============");


    }


}
